package com.maomao.template.service.impl;

import com.maomao.template.bean.Member;
import com.maomao.template.service.MemberService;
import org.springframework.stereotype.Service;

/**
 *
 * @author admin
 * @date 2018/4/23
 */
@Service
public class MemberServiceImpl implements MemberService {
    @Override
    public Member getMember(String id) {
        System.out.println(id+"进入实现类获取数据！");
        Member member = new Member();
        member.setId(id);
        member.setName("香菇");
        member.setAge(18);
        return member;
    }

    @Override
    public void deleteMember(String id) {
        System.out.println(id+"进入实现类删除数据！");
    }
}
